<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */



function smarty_modifier_distotime($distance)
{
    $time = 10;
    if($distance >= 500)
        $time = 20;
    return $time;
}
?>
